package com.mccken.practice.algorithm.tree_02;

import com.mccken.practice.algorithm.common.TreeNode_Common;

public interface ICodec {
	
	// 将 二叉树 序列化成字符串
	String serialize(TreeNode_Common node);
	
	// 将字符串反序列化为二叉树
	TreeNode_Common deserialize(String data);
}
